package com.dto.plc;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class S7DTO {
    /*设备ip*/
    private static String S7_ip;
    /*端口*/
    private static String S7_port;
    /*地址-值*/
    private static  Map<String,String> plcMap = new HashMap<>();
    /*PLC变量*/
    private static List<String> plcVars = new ArrayList<>();

    public static String getS7_port() {
        return S7_port;
    }

    public static void setS7_port(String s7_port) {
        S7_port = s7_port;
    }

    public static List<String> getPlcVars() {
        return plcVars;
    }

    public static void setPlcVars(List<String> plcVars) {
        S7DTO.plcVars = plcVars;
    }

    public static Map<String, String> getPlcMap() {
        return plcMap;
    }

    public static void setPlcMap(Map<String, String> plcMap) {
        S7DTO.plcMap = plcMap;
    }

    public static String getS7_ip() {
        return S7_ip;
    }

    public static void setS7_ip(String s7_ip) {
        S7_ip = s7_ip;
    }
}
